# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1278918507.964174
_template_filename='/pas/python/web/pylons/blog/blog/templates/user/error.mako'
_template_uri='/user/error.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = ['title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'base.mako', _template_uri)
def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        c = context.get('c', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'\n')
        # SOURCE LINE 4
        __M_writer(u'\n')
        # SOURCE LINE 5
        if c.UserNotExisted :
            # SOURCE LINE 6
            __M_writer(u'    <span class="note">\n        The user you are trying to log in is even not existed,\n        <span calss="humor">\n           why not ')
            # SOURCE LINE 9
            __M_writer(escape(h.link_to('create',h.url('signup_user'))))
            __M_writer(u' it?\n       </span>\n       or, maybe ')
            # SOURCE LINE 11
            __M_writer(escape(h.link_to('login',h.url('login_user'))))
            __M_writer(u' again?\n   </span>\n')
            pass
        # SOURCE LINE 14
        __M_writer(u'\n       \n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_title(context):
    context.caller_stack._push_frame()
    try:
        __M_writer = context.writer()
        # SOURCE LINE 2
        __M_writer(u'\n    Logging in Error\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


